class LogisticsVo {

  LogisticsData? data;

  LogisticsVo({this.data});

  LogisticsVo.fromJson(Map<String, dynamic> json) {
    data = json['data'] != null ? new LogisticsData.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    return data;
  }
}

class LogisticsData {
  String? nu;
  String? ischeck;
  List<LogisticsItem>? list;

  LogisticsData({this.nu, this.ischeck, this.list});

  LogisticsData.fromJson(Map<String, dynamic> json) {
    nu = json['nu'];
    ischeck = json['ischeck'];
    if (json['list'] != null) {
      list = <LogisticsItem>[];
      json['list'].forEach((v) {
        list!.add(new LogisticsItem.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['nu'] = this.nu;
    data['ischeck'] = this.ischeck;
    if (this.list != null) {
      data['list'] = this.list!.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class LogisticsItem {
  String? time;
  String? context;
  String? ftime;
  String? areaCode;
  String? areaName;
  String? status;

  LogisticsItem(
      {this.time,
      this.context,
      this.ftime,
      this.areaCode,
      this.areaName,
      this.status});

  LogisticsItem.fromJson(Map<String, dynamic> json) {
    time = json['time'];
    context = json['context'];
    ftime = json['ftime'];
    areaCode = json['areaCode'];
    areaName = json['areaName'];
    status = json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['time'] = this.time;
    data['context'] = this.context;
    data['ftime'] = this.ftime;
    data['areaCode'] = this.areaCode;
    data['areaName'] = this.areaName;
    data['status'] = this.status;
    return data;
  }
}
